package com.lab.account.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import com.common.dao.GenericDao;
import com.common.service.GenericManagerImpl;
import com.lab.account.domain.Authority;

@Service(value = "authorityManager")
public class AuthorityManagerImpl extends GenericManagerImpl<Authority, Long>
		implements AuthorityManager {

	private GenericDao<Authority, Long> authorityDao;

	@Autowired
	public AuthorityManagerImpl(@Qualifier("authorityDao")
	GenericDao<Authority, Long> authorityDao) {
		super(authorityDao);
		this.authorityDao = authorityDao;
	}

}
